package com.tairanchina.joat;

import com.tairanchina.joat.exception.JoatExecuteException;

/**
 * Created by 周靖捷 on 2016/10/10.
 */
public interface Plugin extends JoatLifecycle{
    /**
     * 插件执行
     *
     * @param variable
     * @param environment
     * @return
     */
    Object execute(PluginVariable variable, PluginEnvironment environment) throws JoatExecuteException;
}
